import React,{Component} from 'react';

import Routers from './router/index.jsx'
import './App.less'
// 引入图标库
function addScript(){
	var script = document.createElement("script");
	script.type = "text/javascript";
	script.src = 'http://at.alicdn.com/t/font_1142817_nhvuthzy1nr.js';
	document.body.appendChild(script);
}
addScript(); 
// 判断环境，加载不同js
// process.env.NODE_ENV === "development" ? addScript() : require('../Common/iconfont')

class App extends Component{
  render() {
    return (
      <div className="AppView">
        <Routers></Routers>
      </div>
    )
  }
}
export default App;